﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace CodeTool
{
    /// <summary>
    /// App.xaml 的交互逻辑
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            string codeFolder = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "code");
            if (!Directory.Exists(codeFolder))
            {
                Directory.CreateDirectory(codeFolder);
            }

            base.OnStartup(e);
        }
    }
}
